<ion-header>
    <ion-navbar>
        <ion-title>
            报销申请单
        </ion-title>
      <!--  <ion-buttons end *ngIf="addBool">
      <span>
        <button ion-button icon-only tappable (click)="onAddCountWay()">添加</button>
      </span>
        </ion-buttons>-->
    </ion-navbar>
</ion-header>

<ion-content>
    <div class="tabs">
        <div class="tab" *ngFor="let item of tabs; let i =index" (click)="tabName(item.name,i)" id="{{'applyName_'+i}}">
            {{item.name}}
            <div class="chooseLine" id="{{'apply_'+i}}"></div>
        </div>
    </div>

    <div *ngIf="applyBool">
        <page-apply-tab [editDetails]="applyInfo" (childEvent)="getChildEvent($event)" ></page-apply-tab>
    </div>
    <div *ngIf="expendBool">
        <page-apply-info-tab (childEvent)="getChildEvent($event)"></page-apply-info-tab>
    </div>
    <div *ngIf="assistBool">
        <page-assist-tab (childEvent)="getChildEvent($event)"></page-assist-tab>
    </div>
    <div *ngIf="closeAccountBool">
        <page-close-account-tab (childEvent)="getChildEvent($event)"></page-close-account-tab>
    </div>
</ion-content>
